export default{
    data(){
        return{
            id:4,
            app_banner:''
        }
    },
     onLoad(e) {
        // let id = e.id || 4;
        // this.id = id;
        this.getIndex()
     },
     methods:{
        getIndex:function(){
            this.$get('index/config',
                { }
                    ).then(res => {
                    if (res.code == 1) {
                        this.app_banner = res.data.app_banner || ''
                }else{
                  this.uniToast(res.msg)
                }
                 }).finally(() => {
                 })
        }
     }
}